package com.cskaoyan.mall.model.vo.order;

/**
 * @ClassName: CartGoodVo
 * @Description: TODO
 * @Auther 庄左
 * @Date 2022/7/3 19:46
 * @Version
 **/
public class CartGoodVo {
    //商品id
    private Integer id;
    private String img;
    private String name;
    //规格id
    private Integer goodsDetailId;
    private String spec;
    private Double unitPrice;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img ="http://localhost:8084/" + img;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getGoodsDetailId() {
        return goodsDetailId;
    }

    public void setGoodsDetailId(Integer goodsDetailId) {
        this.goodsDetailId = goodsDetailId;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    public Double getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(Double unitPrice) {
        this.unitPrice = unitPrice;
    }
}
